From: Richard M. Stallman Date: Wed, 26 May 1993 20:38:52 +0000 (+0000) Subject: (r_alloc_sbrk): Declare already_available as long, not SIZE. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95924 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=89ccd65a2415c2d718a8ca72b0f89e991fe0627d;p=emacs.git (r_alloc_sbrk): Declare already_available as long, not SIZE. --- diff --git a/src/ralloc.c b/src/ralloc.c index a8ab0754268..b33e329753d 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -351,7 +351,10 @@ r_alloc_sbrk (size) /* This is the first address not currently available for the heap. */ POINTER top; /* Amount of empty space below that. */ - SIZE already_available; + /* It is not correct to use SIZE here, because that is usually unsigned. + ptrdiff_t would be okay, but is not always available. + `long' will work in all cases, in practice. */ + long already_available; POINTER ptr; if (! use_relocatable_buffers)